﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyWeb.ServiceBus.Model.Models
{
    /// <summary>
    /// 接口管理
    /// </summary>
    [SysTable]
    [Table("ESB.Interface")]
    public class Interface:Root<long>
    {
        /// <summary>
        /// 项目Id
        /// </summary>
        public long ApplicationId { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string? Name { get; set; } = string.Empty;
        /// <summary>
        /// 状态
        /// </summary>
        public string? Status { get; set; } = string.Empty;
        /// <summary>
        /// 请求方式
        /// </summary>
        public string? Method { get; set; } = string.Empty;
        /// <summary>
        /// 请求路径
        /// </summary>
        public string? Path { get; set; } = string.Empty;
        /// <summary>
        /// 分类
        /// </summary>
        public string? Classification { get; set; } = string.Empty;
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; } = string.Empty;
    }
}
